
This folder contains data and code required to replicate results for  
The Limits and Consequences of Population Policy: 
Evidence from China's Wan Xi Shao Campaign
 - Kimberly Singer Babiarz 
 - Paul Ma
 - Grant Miller
 - Shige Song
 
All tables and figures replicated in STATA (16.1) by running LLF_Replication.do

Three datasets are included: 
1) Original 1988 2 per Thousand fertility survey (1988_survey.dta)
2) Analysis dataset 1: Birth level panel data (2pk_birthpanel.dta)
3) Analysis dataset 2: Mother-year level panel data (2pk_birthpanel.dta)

Original data is provided but not required. User may run all code using provided restructured panel data.  
Documentation for the 1988 survey is also provided (1988_documentation.pdf)


Do files correspond to tables and figures as follows: 
1) Unadjusted TFR and SRB change
   LLF_SRB_unadjusted.do	Figure 1a-b: Unadjusted TFR/SRB change
   LLF_Gapminder.do		Figure A1: Gapminder
   LLF_Map.do			Figure A2: Implmentation map

2) Parity Progression (LLF_PPR.do should be run first before other do files in this section) 
   LLF_PPR.do			Figures 2a-2d: 	Parity progression risk
   LLF_Pretrends.do 		Figures A7a-d: 	Secular trends in event time
   LLF_PPR_Robustness1.do 	Figures A9a-d: 	PPR Robustness tests
   LLF_PPR_Robustness1.do 	Figures A10a-d: PPR Robustness tests
   LLF_PPR_Robustness2.do	Figures A11a-d: PPR Robustness tests
   LLF_PPR_Permutation.do	Figures A12a-f: PPR Permutation test

3) TFR decline and regression adjusted life tables
   Elements needed to produce regression adjusted life tables are saved into a directory 
   LLF_LifeTables.do 		Figure 3a-b: 	TFR change
   LLF_LifeTables.do 		Figure A8: 	First parity ASFR 
   LLF_LifeTables.do 		Figure A16: 	ASFR heatmap 
   LLF_LifeTables.do 		Table A6: 	Regression adjusted life tables in event time
   LLF_LifeTables.do 		Table A7: 	Parity specific fertility change in event time
   LLF_LifeTables.do 		Table A8:	ASFR change in event time

4) Age at Marriage and Birth Timing 
   LLF_Age_Marriage.do		Figures A13a-b: Change in age of marriage; Table A5
   LLF_Age_FirstBirth.do	Figures A14a-b: Change in age of first birth; Table A5
   LLF_BirthIntervals.do  	Figures A15a-d: Change in birth intervals

5) Sex Selective Fertility Strategies
   LLF_SexSelection.do 		Figure 4: 	Sex selection strategy use 	
				Figures A17a-f:	Sex selection - leave 2 out 	
 				Table 1: 	Sex based discontinuation
 				Table 2: 	Probability of male birth
 				Table 3:	Male biased stopping rules 
 				Table A9: 	Sex ratio at ages 0-5
   LLF_Breastfeeding.do 	 Table A10: 	Breastfeeding back-of-the-envelope
   LLF_SexSelection_Leave2Out.do Table A11: 	Sex selection robustness 

6) Underreporting
   LLF_Underreporting.do	Figure A3: 	Underreporting 
 				Figure A4: 	Underreporting
 				Figure A5: 	Underreporting
 				Figure A6: 	Underreporting	
